package org.itark.bbs.common.constants.enums;

/**
 * @author lishenglei
 */
public enum ResponseCode {

    /**
     * 失败
     */
    FAILED(99999, "系统错误"),

    /**
     * 成功
     */
    SUCCESS(20000, "执行成功"),
    ;

    private int code;
    private String message;

    ResponseCode(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
